<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/include/page.jsp"%>
<c:set value="${response.data.list }" var="list"/>
<!DOCTYPE html>
<html lang="en">
	<head>
		<title>攻击网址列表 - 客户端单机系统</title>
		<%@ include file="/common/include/title.jsp" %>
	</head>
	<body>
		<%@ include file="/common/include/header.jsp" %>
		<!-- 网页的主体部分 -->
		<div class="container">
			<div class="row">
				<div class="col-md-11 col-sm-offset-1">
					<h2 class="sub-header">攻击网址列表</h2>
	
					<!-- <form action="" method="post" class="form-inline">
						<label for="keyword">关键字:</label>
						<input type="text" name="keyword" value="" class="form-control mr-sm-2">
						<label for="email">更新时间:</label>
						<input type="text" name="st" value="" readonly="true" class="form-control mr-sm-2" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="Wdate"/>
						<input type="text" name="ed" value="" readonly="true" class="form-control mr-sm-2" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="Wdate"/>
						<input type="submit" class="btn btn-primary" value="搜索">
					</form> -->
				</div>
				<div class="col-md-11 col-sm-offset-1">
					<div class="table-responsive mt-2">
						<table class="table table-striped table-hover">
							<thead>
								<tr>
									<th>序号</th>
									<th>id</th>
									<th>名称</th>
									<th>类型</th>
									<th>状态</th>
									<th>创建时间</th>
								</tr>
							</thead>
							<tbody>
								<c:forEach items="${list }" var="listTemp" varStatus="stat">
									<tr>
										<td>${stat.count }</td>
										<td>${listTemp.id }</td>
										<td><a target="_blank" href="${listTemp.url }">${listTemp.name }&nbsp;</a></td>
										<td>${listTemp.reqtypeStr}</td>
										<td>${listTemp.statusStr}</td>
										<td>${listTemp.createTime }</td>
									</tr>
								</c:forEach>
							</tbody>
						</table>
					</div>
				</div>
				<!-- <div class="col-md-11 col-sm-offset-1">
					<form id="usersListPageForm" action="/usersCenter-head/head/users/usersList.html"
						method="post" class="form-inline col-md-11 col-sm-offset-1">
						设置一些参数
						<input type="hidden" name="keyword" value="">
						<input type="hidden" name="status" value="">
						<input type="hidden" name="st" value="">
						<input type="hidden" name="ed" value="">
	
						<nav aria-label="Page navigation example">
							<ul class="pagination justify-content-end">
								<li class="page-item">
									<a href="#" class="page-link">
										<span>首页</span>
									</a>
								</li>
								<li class="page-item">
									<a href="#" class="page-link">
										<span>上一页</span>
									</a>
								</li>
								<li class="page-item">
									<a href="#" class="page-link">
										<span>下一页</span>
									</a>
								</li>
								<li class="page-item">
									<a href="#" class="page-link">
										<span>尾页</span>
									</a>
								</li>
								<li class="page-item">共1页,共2条</li>
								<li class="page-item">
									第<input type="text" id="currentPage" name="currentPage" class="form-control" value="1" size="5" maxlength="5"/>页
								</li>
								<li class="page-item">
									<input type="text" id="pageSize" name="pageSize" class="form-control" value="20" size="5" maxlength="5"/>
								</li>
								<li class="page-item"><input type="submit" value="GO" class="form-control btn btn-primary"/></li>
							</ul>
						</nav>
					</form>
				</div> -->
			</div>
		</div>
		<%@ include file="/common/include/footer.jsp" %>
	</body>
</html>